package org.edu.modules.scheduleCommon.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.edu.common.system.base.service.impl.BaseServiceImpl;
import org.edu.modules.scheduleCommon.entity.VeBaseBanji;
import org.edu.modules.scheduleCommon.entity.VeBaseSemester;
import org.edu.modules.scheduleCommon.mapper.VeBaseBanjiMapper;
import org.edu.modules.scheduleCommon.mapper.VeBaseSemesterMapper;
import org.edu.modules.scheduleCommon.service.VeBaseBanjiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * 实现类
 */
@Service
public class VeBaseBanjiServiceImpl extends ServiceImpl<VeBaseBanjiMapper, VeBaseBanji> implements VeBaseBanjiService {

    @Autowired
    private VeBaseBanjiMapper veBaseBanjiMapper;


    @Override
    public VeBaseBanji findById(Integer id) {
        return veBaseBanjiMapper.findById(id);
    }

    @Override
    public List<VeBaseBanji> getBanJiListBySpecId(Integer specId) {
        return veBaseBanjiMapper.getBanJiListBySpecId(specId);
    }

    @Override
    public List<VeBaseBanji> listByTeacherId(String userId) {
        return veBaseBanjiMapper.listByTeacherId(userId);
    }

    @Override
    public int importExcel(List<Map<String, Object>> list) {
        return 0;
    }
}
